package com.shigui.news.dao;

import java.util.List;

import com.shigui.news.model.User;

public interface UserDao {

	User selectById(Integer id);
	List<User> select();
	void insert(User user);
	void update(User user);
	void delete(User user);
	User findByPersistCode(String persistCode);
	User findByUsername(String username);
	User findByUser(String username,String password);
	void logout();
}
